package com.jsxjlps.sevice.jobhandler;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.context.XxlJobHelper;
import com.xxl.job.core.handler.IJobHandler;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class SampleXxlJob{

    @XxlJob(value = "demoJobHandler")
    public void execute(String s) throws Exception {
        XxlJobHelper.log("XXL-JOB, Hello World.");
        System.out.println("hello world");
    }
}
